package com.xinpu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 企业微信消息用户中间表
 * </p>
 *
 * @author ayuan
 * @since 2021-06-22
 */
public class TCompanyWxMessageUser extends Model<TCompanyWxMessageUser> {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户编号
     */
    private String uid;

    /**
     * 消息编号
     */
    private Integer mid;

    /**
     * 是否查看0否1是
     */
    private Integer checks;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public Integer getChecks() {
        return checks;
    }

    public void setChecks(Integer checks) {
        this.checks = checks;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "TCompanyWxMessageUser{" +
        "id=" + id +
        ", uid=" + uid +
        ", mid=" + mid +
        ", checks=" + checks +
        "}";
    }
}
